﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using DataAccess;
namespace FunBox.Controllers
{
    public class FixtureController : Controller
    {
        //
        // GET: /Fixture/

        BussinessObjects.FixtureManager fixtureMgr;
        public ActionResult Index()
        {
            return View();
        }

        public ActionResult FixturesAll()
        {
            fixtureMgr = new BussinessObjects.FixtureManager();
            ViewData["Fixtures"] = fixtureMgr.GetFixtures(1);
            return View(ViewData);
        }

    }
}
